package com.chushouya.order.dto.admin.action;

import com.chushouya.order.constants.KefuOrderActionEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@ApiModel("业务员接单")
@Data
public class OrderBargainAction extends KefuBaseAction {

    public OrderBargainAction() {
        super.setOrderAction(KefuOrderActionEnum.BARGAIN);
    }
    @ApiModelProperty("订单id")
    @NotNull(message = "订单id不能为空")
    private Long orderId;

    @ApiModelProperty("操作备注")
    private String actionNote;

    @ApiModelProperty("订单成交价")
    @NotNull(message = "订单成交价不能为空")
    private BigDecimal completePrice;

}
